package  com.fast.mybatis.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.fast.mybatis.enums.OrderType;

@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD,ElementType.FIELD })
public @interface OrderBy {
	
	OrderType orderBy() default OrderType.ASC; 
	
	int order() default 0; 
}
